Ray DiBugnara, 18 Meadow Road, Bolton, MA 01740-1120
March 19, 1994
(America Online “RayDiBug”)
(Internet RayDiBug@AOL.COM)
INTRODUCTION
For any Apple Macintosh computer and any Hewlett Packard Deskwriter printer using DW Driver 5.0. This Greyscale Version 5.0 supports most drawing and graphics programs, gives several grayscale translation choices and has specific support for perfect horizontal/vertical gray hairlines (0.25 point) in 12.5%, 25% and 50% gray values).
REVISION HISTORY
Version 1.0 is the original release.
Version 2.0.X increased support for more applications and generated four different Greyscale options. Support for color and the 550C printer was also distributed as a separate file.
Version 2.2 supports the latest HP drivers including color version 3.0 and black and white version 3.9. Also both color and BW files are now bundled together.
Version 2.2a adds support for BW version 4.0 and also corrects a file labeling error. The DW 550C folder had a version 2.0 AND a version 3.0 identified. In fact, the version 3.0 belonged in the DW 500C folder instead. No other changes were made. People who either did not need that file or figured out for themselves the error need not update their files.
Version 2.3 corrects a defective DITL/DLOG with the DW 550C resources that caused the user to be unable to access Page Setup or Print without a bomb (or equivalent). This version also adds, by popular demand, a new soft line greyscale resource which combines the features of both the soft greyscale (SGS) and the line greyscale (LGS).
Version 5.0 privides support only for Hewlett Packard's DW Universal Driver 5.0 and does not replace version 2.3 on older drivers. However, I suggest that you consider upgrading to 5.0 as I believe Hewlett Packard will only be supporting the universal driver concept in the future. Version 5.0 is now self installing thanks to UpdateMaker by Michael Hamel.
REQUIREMENTS
1) Requires HP Deskwriter Universal 5.0 Serial/Appletalk driver. Please update any older driver versions before applying this patch.
2) Requires that you care if you have high quality grayscales in your printer output.
INCLUDED FILES
Greyscales 5.0 Made Easy (The file you are reading)
Greyscales 5.0 PICT (Sample Greyscale Demo File)
Read Me First (A quickie introduction)
SuperLaserSpool Users (Conflict resolutions)
QuickBASIC Users (Deskwriter printing problems)
Plus the following self updating applications…
Deskwriter 5.0
DW GS 5.0 Update (Normal Greyscale)
DW SGS 5.0 Update (Soft Greyscale)
DW DGS 5.0 Update (Direct Greyscale)
DW LGS 5.0 Update (Line Greyscale)
DW LSGS 5.0 Update (Soft Line Greyscale)
Deskwriter 5.0 (AppleTalk)
DW GS 5.0 (AppleTalk) Update (Normal Greyscale)
DW SGS 5.0 (AppleTalk) Update (Soft Greyscale)
DW DGS 5.0 (AppleTalk) Update (Direct Greyscale)
DW LGS 5.0 (AppleTalk) Update (Line Greyscale)
DW LSGS 5.0 (AppleTalk) Update (Soft Line Greyscale)
Optional ResEdit Resources
Using ResEdit Instead
DW5-GS 5.0 rsc (Normal Greyscale)
DW5-SGS 5.0 rsc (Soft Greyscale)
DW5-DGS 5.0 rsc (Direct Greyscale)
DW5-LGS 5.0 rsc (Line Greyscale)
DW5-LSGS 5.0 rsc (Soft Line Greyscale)
You may not want to use all of the updaters since they are merely different versions (or styles) of grayscales designed for specific uses. Also, each copy of the HP Driver 5.0 takes up about 438K and you need one copy for each grayscale you plan to use.
INSTALLATION
1) Open the folder that contains the type of driver you are using (either the direct or the AppleTalk).
2) Double click one of the updaters to install that grayscale. You will be prompted to find the original driver (only version 5.0) which is either in the System Folder or in the Extensions folder within the Systems Folder if you are using System 7. Open it.
3) You will now be prompted to save an updated copy. Be sure to save it in the same folder that you found the orginal. Change the “Save As” name if you wish to something you will easily remember.
4) You may repeat this for each of the five types of Greyscale files. Try one first (the GS for example) before adding them all.
5) If for some reason the updater refuses to produce an update (you get some kind of error message for instance) start with a freshly installed version of HP's 5.0 Driver. Remember, only version 5.0 will be recognized.
6) For ResEdit jockeys, I've included the five basic resource files in a separate folder with a short description on how to use them. This is an alternate installation method. While this method takes a little longer, it may successfully update future versions from HP.
AND NOW ABOUT GREYSCALES…
Fixes the Deskwriter's grayscale performance for Canvas™ 3.0 and 3.5.1, MacDraw II, Superpaint (including 3.0), MacDraft II, WingZ, Resolve, Word (including 5.1) Excel (including 4.0), Inspiration (including 4.0), and probably most other applications that use QuickDraw object grayscales. The Line Greyscale and the Line Soft Greyscale, two of the five Greyscale options and a unique variation, are optimized for Canvas™ but will work with many others.
Q) What do you mean, QuickDraw object grayscales?
A) Drawing programs and most other applications (Excel, etc.) use Apple's QuickDraw for drawing objects. This includes its own system for making grayscales. Paint programs, however, address the printer directly on a dot-by-dot basis bypassing the QuickDraw gray patterns. These will not be affected by this patch.
Q) I have the latest version of HP's driver and it shows a check box that says “Print in Grayscale”. Isn't that the same thing as your resource?
A) No it isn't. That has to do with printing special color or BW files that actually specify grayscale depth per pixel. Your driver will attempt to interpret this information and produce a reasonable gray effect. You have probably already noticed that clicking the check box usually doesn't make any difference. If you don't have one of these file types (and the application to support it), that option won't work. On the other hand, these QuickDraw Greyscale resources I'm giving you will work all the time.
Q) I have a color printer. What do I want with a grayscale?
A) Grayscale is just a term to signify various shades between black and white. For color printers, it would be various shades between red and white, green and white, etc. This Greyscale resource package fixes all Deskwriter grayscale.
Q) What's broken?
A) Nothing is really broken. Grayscales are merely black (or color) and white dot patterns arranged to approximate a shade. On your computer screen, these dots are arrayed in a “clunky” 72 dots per inch (DPI) pattern. Your Deskwriter, however, is capable of an elegant 300 DPI pattern. The 72 DPI grayscale needs to be translated to a 300 DPI grayscale.
Q) I thought I already had 300 DPI?
A) You do! Your fonts and all your drawing objects are sent at 300 DPI. But patterns (grayscales included) are transmitted to the printer by the application at 72 DPI to the Deskwriter because it is a QuickDraw device and that is how things are done for patterns.
Q) Then there is nothing I can really do about it, is there?
A) But yes! Hewlett Packard (HP), in their infinite wisdom, put into each of their Deskwriter drivers a resource called “PAT#”. One table contains a list of 72 DPI grayscales and the other a list of 300 DPI grayscales.
Q) So?
A) So if a 72 DPI grayscale matches one of the 15 patterns in the first table, the Deskwriter immediately substitutes the 300 DPI grayscale pattern from the second table. Clever, no?
Q) Then I already have 300 DPI grayscales covered, right?
A) Well, yes and no. Not every drawing program uses the same pattern to approximate the same gray shade. HP designed their Deskwriter 5.0 tables to make every drawing program deliver the same gray shade pattern. To make this work, however, the results come out at only 75 DPI (or 150 DPI for some grays), which isn't much of an improvement.
Q) Is that why I sometimes got a really smooth gray in one shade but a spotty gray in another shade with my older Version 2.X?
A) That is correct!
Q) So how did you fix this?
A) I changed the PAT# table. For the 72 DPI side, I installed a much more extensive pattern list matching every drawing program and application I could get my hands on. There are a maximum of 64 gray patterns, not counting white.
Q) How can you substitute 64 patterns when there were only 15 to begin with? Won't the rest be ignored?
A) The HP programmers wrote their code to never assume a fixed number in their table. They always accommodate any size table. This is real programming professionalism.
Q) Was this as easy as it sounds?
A) Not really. It required examining how each drawing program established their gray patterns. Unfortunately, not everyone uses the same definitions. If I have missed anyone's drawing program, I apologize but there is a finite number of patterns that will fit in the conversion table (about 130).
Q) How do I know what driver version I currently have?
A) From two places. In the Finder, select your current driver and use GetInfo to find the version number. From Page Setup or Print, one of the dialog boxes should have the version number. If you have version 5.0 you are ready to go. If you have any older version (like 3.9, 3.1, 2.0, etc.) then update before using this Greyscales resource package. The new driver is free from your HP dealer.
Q) Why have you supplied five grayscale resource files for each driver? I only have one printer, after all.
A) Greyscale Version 5.0 allows several choices. When the Deskwriter squirts a black dot, the ink spreads out a bit so that a black dot is always larger than a white dot. This means that a 50% dot pattern would look more like a 75% pattern--a bit dark. Each file gives a different choice for gray pattern conversion to suit individual requirements. And so, the five choices…
THE DIFFERENT GREYSCALES
1) The Normal Greyscale corrects for ink dot bleed out with a 3:2 grayscale reduction conversion.
2) The Soft Greyscale reduces the gray intensity by 2:1 to give softer grays and less wetting of the paper. This is best for Xerox duplication, overhead projection slides, etc. It also uses less ink.
3) The Direct Greyscale gives a 1:1 gray conversion. Of course this makes a much darker copy but it replicates the original dot-for-dot pattern and is included for the purist. Also, special HP clay bearing papers produce finer dots than standard Xerox paper and some users may find it preferable.
4) The Line Greyscale is a limited Direct Greyscale plus certain horizontal, vertical and diagonal 300 DPI patterns for printing fine vertical and horizontal hairlines (or fine line fills) such as would be used to make forms, etc. These special patterns approximate 12.5% gray, 25% gray and 50% gray. (They appear as miniature diagonals or perpendicular lines which is why they make such uniform gray hairlines.) However, if your drawing program can generate fine dashed lines on its own, you may not need this feature. The Greyscale Demo PICT file contains some gray hairlines that, as you will see, only print correctly with the Line Greyscale driver.
5) The Soft Line Greyscale is exactly like the Line Greyscale as far as line support goes but uses the softer greys of the Soft Greyscale driver. This was added by “popular” demand. As with the Line Greyscale, it too is limited.
Q) Why do you say that the Line Greyscales are “limited”.
A) Well, the Deskwriter driver only handles about 130 patterns which are all taken up now to service as many drawing programs as possible. To add the fine line support, I had to remove many gray interpreter patterns. I did, however, keep all of the Canvas™ patterns and you'll probably find that your programs are covered too.
Q) Your PICT file lists grays in 1% increments but you said there was only 64 total shades. How is this possible?
A) On an HP Deskwriter, it isn't. You will note that sometimes 2 side-by-side shades are identical. The 1% increments are used by Canvas™ for selection purposes but can only be displayed in increments of 1/64, or less.
Q) What do you mean by, “Or less.”?
A) The Direct Greyscale uses all 64 grays but appears, as previously mentioned, on the dark side because of the large ink dots. The Soft Greyscale, which uses a 2:1 reduction, only has 32 grays in increments of 1/32 because of the compression. The Normal Greyscale is half way between Direct and Soft and has about 48 grays.
Q) Which do I use?
A) You can try them all. Up to 5 Deskwriter print drivers, the original plus 4 modified drivers, are possible. You can select which one you want at the time you print by using the Chooser.
Q) You've mentioned Canvas™ a number of times now. I don't have Canvas™ so will Greyscale do me any good?
A) Absolutely. I did try to accommodate as many drawing programs as I could. Give it a try and see if you like it. Use your own drawings to try it out. Many grays patterns should work well and, if you're lucky, all of them will.
Q) OK, let's cut to the bottom line! How do I fix my Deskwriter?
A) You don't touch your printer, just the software driver in the System Folder. Follow the instructions.
INSTALLATION INSTRUCTIONS
1) Locate the Deskwriter driver (either version) in your System Folder (Extensions Folder inside System Folder for System 7). Make a copy(s) of it (Command-D) and name it differently from the original. For example, I use “DW 5.0 GS”. Just add the “GS” or “SGS”, etc. after the name so it is easy to identify. To simplify things, use the same name for the driver as the resource file except don't use the “ rsc” at the end of the name. The name, however, is not critical.
2) The required resources are in the corresponding 5 files (per driver type) I gave you. Launch ResEdit and open this file. A small window will reveal 5 resources: “PAT#”, “PICT”, “DITL”, “DLOG” and “vers”. Select all four (Command-A) and copy (Command-C). Close the window. Keep ResEdit open.
3) Open the Deskwriter driver copy you made (don't work on the original, please!). When the window opens, (lots of resources will show) just paste (Command-V). Answer “Yes” (and only Yes--you want to keep the same ID numbers) to the dialog that asks if you wish the replace the old resources. Close the window. Answer “Yes” to the dialog asking if you want to save the changes.
4) Repeat for each additional driver and then quit ResEdit. Keep the files straight if you are modifying more than one. That's all there is to it!
5) You may use the driver immediately without restarting. After you restart your computer, however, the Get Info box of that driver will now include something like “Greyscale by Ray DiBugnara” so you can always tell a converted driver. Also, “Page Setup” and “Print” will have a “Greyscale GS” (or whatever is appropriate) displayed somewhere in the dialog window.
6) If you select Chooser from the Apple Menu, you will now see all Deskwriter drivers--the original and the various grayscale versions. For version 5.0, print spooling works for all drivers (after you turn it on for each new driver). You can compare documents printed with each drivers…the stock version and the four 300 DPI grayscale versions.
7) I have included a demo file for you to open and print. It is in the PICT format so any drawing program you have can open it and print it. I think you will be pleasantly surprised. This PICT file contains grayscale assignments from 1% to 100%. As mentioned earlier, since the Mac has grayscales from 0 to 64 in steps of 1/64, sometimes two adjacent percent gray samples will appear identical. This Greyscale modification is merely interpreting the best it can.
MORE QUESTIONS
Q) I'm afraid to use ResEdit because I don't know how. What should I do?
A) That's what friends (or customer support) are for. You can either ask them for help, or, you can be daring and follow the step by step instructions and try it yourself. You will be using copies of the drivers and ResEdit 2.1.1 is pretty good at warning you about mistakes. Your dealer can supply you a copy of ResEdit 2.1.1 if you don't have one. An extensive instructions file comes with the application. ResEdit is what makes the Macintosh unique.
Q) Why didn't HP do this grayscale fix in the first place?
A) I don't know. I'm sure the courser 75 and 150 DPI patterns copy better on cheaper Xerox copiers, but with the newer copiers, I prefer the finer gray patterns. Maybe someday HP will allow you the choose the grayscale resolution right from the Print dialog.
Q) How much is this gonna cost me?
A) Let me see…I've had to double my previous price (which was zip) so, 2 x zip = zip! I guess it's still zip. Greyscale is free to use and to give away. Such a deal! Just keep ALL the files together if you give away a copy. This package, if kept together with all files, may also be freely distributed (and installed) by any organization as part of any profit or non-profit program with just a simple postcard letting me know who you are. (Postcards or EMail of encouragement from regular users are also appreciated.)
Q) Can anything go wrong?
A) The modifications are harmless and you can always switch back to the original driver. However, if you use SuperLaserSpool, you will find that SLS gets confused by the nearly identical drivers and sometimes won't change them even when you have used the Chooser. Update the drivers to version 5.0 and use HP's own spooler which not only is faster but doesn't get confused with the different drivers. (See the separate file: SuperLaserSpool Users.)
SOME ADVICE
Keep your Deskwriter clean. Dirty contacts or plugged jets on the inkjet head can cause missing dots. Also, the shiny chrome rod that the print head slides on can get dirty causing the head to shudder ever so slightly. This can cause slight irregularities or stripes in an otherwise smooth gray pattern. Consult with an HP service center on what to do if this problem should occur.
The HP large capacity ink cartridges have a tendency to skip or misfire when first used after sitting a while leaving fine vertical white lines at the top of the first page. I find that a Q-tip moistened with 70% ethyl alcohol (from your drugstore) does a fine job of cleaning the jets. Let the alcohol soak in for about a moment with the Q-tip and then wipe off any ink residue.
AND MORE QUESTIONS
Q) Hey, I installed your previous version of Greyscales 2.3. What should I do?
A) Older versions apply only to older Deskwriter drivers. You must have HP's version 5.0 and you can only use Greyscales 5.0 to modify it.
Q) Your sample file prints perfectly on my drawing program but when I select my own gray patterns, a few of them are 75 DPI. Why is that?
A) The sample file uses gray patterns which are all compatible with Greyscale 5.0 which your program uses to print. However, to make new patterns, your program uses its own gray patterns and, apparently, a few may not covered by Greyscale 5.0. Sorry but not every programmer believes in standardization!
Q) Will this work on both the serial and Appletalk driver?
A) Yes!
Q) What if I get an even newer version of the Deskwriter driver?
A) As long as it is some version 5.X, chances are Greyscale 5.0 will still work. If that doesn't work, send me a copy of the driver resources DITL, DLOG, PAT# and vers (via America Online) and I'll work on it.
Q) I installed Greyscale 5.0 and now all my grayscales have become very clunky and worse than they were before.
A) Either you accidentally damaged the driver or you are running another print spooler besides HP Print Monitor (Like SuperLaserSpool, for instance!).
Q) So, what do I do?
A) Trash the defective driver, re-read the instructions and re-create the driver. (And don't feel bad because I did this once myself and I'm the one that this thing!) That should fix it.
Q) Well I did and it didn't. Now what?
A) Turn off your spooler. If it prints OK now, then you have a spooler problem. If the spooler is HP Print Monitor, then search in the System Folder (or Extensions Folder) for “Printer ZSM 1” and trash it. That is the temporary spooler driver copy and, maybe, it became corrupted. (SuperLaserSpool also makes driver copies and in covered in a separate notice in this package.)
Q) You're a real peach for doing this for us!
A) Aw, shucks.
FINALLY
Well, there you have it. Humor aside, I do hope you all enjoy this latest Greyscale 5.0 effort for the Deskwriter and thanks to Hewlett Packard for their continuing support of all us Deskwriter users.